package com.bor.gb.db.domain;

import org.springframework.data.annotation.Id;


/**
 * Created by bor on 11/27/14.
 */
public class Alert {

    public enum Severity {
        ERROR, WARNING, INFO, GOOD
    }

    @Id
    private String id;

    private Severity severity;

    private String message;

    public Alert(Severity severity, String message) {
        this.severity = severity;
        this.message = message;
    }
}
